package zhuoer.adv1;

import java.io.FileWriter;
import java.io.IOException;

public class FileWrite2 {

	public static void main(String[] args) {
		// 写字符
		try {
			FileWriter fw = new FileWriter("e:/a/b/java46.txt", true);
			fw.write(21016);
			fw.write(97);
			fw.write("陈哲是个老帅哥！\r\n");
			fw.write("马超是个大帅哥");
			fw.close();// !!!
		} catch (IOException e) {
			e.printStackTrace();
		}

	}

}
